package cn.springdemo.aop;

import org.apache.log4j.Logger;
import org.aspectj.lang.JoinPoint;

public class AopService {
    private  static  final Logger log = Logger.getLogger(AopService.class);

    public  void qianzhi(JoinPoint joinpoint){
       log.debug("这是前置的加强");
    }

    public  void  houzhi(JoinPoint joinpoint){
        log.debug("这是后置的加强");
    }

    public  void zuizhong(JoinPoint joinPoint){log.debug("这是最终增强的方法");}

    public  void  huanrao(JoinPoint joinPoint){log.debug("这是环绕的增强内容");}
}
